<html>
<head><meta charset="utf-8"><title>Updating rustc to use Rust 2021 · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html">Updating rustc to use Rust 2021</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="232296648"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232296648" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232296648">(Mar 29 2021 at 16:34)</a>:</h4>
<p>At some point, we'll want to have the compiler bootstrap against Rust 2021. Do we have a plan for this yet?</p>



<a name="232296741"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232296741" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232296741">(Mar 29 2021 at 16:35)</a>:</h4>
<p>Does it need a plan? I would expect it to work like any other codebase updating, someone just makes a pr</p>



<a name="232296780"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232296780" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232296780">(Mar 29 2021 at 16:35)</a>:</h4>
<p>I think it should be after 2021 is stabilized though, or at least closer to being stabilized</p>



<a name="232297129"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232297129" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232297129">(Mar 29 2021 at 16:38)</a>:</h4>
<p>This needs to happen only once the majority of migration lints are ready, because you can't run them after you've switched to the next edition. But otherwise it's usually not too hard.</p>



<a name="232297167"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232297167" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232297167">(Mar 29 2021 at 16:38)</a>:</h4>
<p>I think we want to ensure this is done before the edition is stabilized.</p>



<a name="232297205"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232297205" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232297205">(Mar 29 2021 at 16:38)</a>:</h4>
<p>(that's all I really meant with plan - is it on our todo list)</p>



<a name="232298630"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/Updating%20rustc%20to%20use%20Rust%202021/near/232298630" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/Updating.20rustc.20to.20use.20Rust.202021.html#232298630">(Mar 29 2021 at 16:49)</a>:</h4>
<p>I think it's a good smoke test and we can likely start doing it throughout the process, just not landing the results</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>